package com.lmk.homework;


import java.util.ArrayList;


public class People {

    String name;
    int 工资;
    int 编号;


    public static void main(String[] args)
    {
        ArrayList<Phone>arr=new ArrayList<Phone>();


    }
    private static void print(ArrayList<People> arr) {
        for(int i=0;i<arr.size();i++)
        {
            System.out.println(arr.get(i).name+" "+arr.get(i).工资+" "+arr.get(i).编号);
        }

    }

    private static void addPeople(ArrayList<People> arr) {
        People one=new People();
        one.name="1";
        one.编号=12;
        one.工资=1500;
        People two=new People();
two.name="3";
       two.编号=32;
        two.工资=4500;

        arr.add(one);
        arr.add(two);


    }


}

